<tr>

    <td>{$picture['picture_id']}</td>

    <td>
        {php echo getpicturepid($picture['picture_pid']);}
    </td>

    <td>
        {if $picture['picture_type']=='talk'}话题
        {else}{/if}
        / 编号：{$picture['picture_vid']}
    </td>

    <td><img style="width:60px;height:60px;border-radius:50%;" src="{php echo getavatar($_W['uniacid'],$picture['openid']);}"/></td>

    <td>{php echo getnickname($_W['uniacid'],$picture['openid']);}</td>

    <td>
        <a href="{$_W['attachurl']}{$picture['picture_url']}" target="_blank">
            <img style="width:100px;height:100px;" src="{$_W['attachurl']}{$picture['picture_url']}"/>
        </a>
    </td>

    <td>
        {php echo date('Y-m-d H:i:s',$picture['picture_time']);}<br/>
    </td>

    <td>
        {if $picture['picture_pid']=='2'}
        <a class="btn btn-default" href="{php echo $this->createWebUrl('picture',array('op'=>'update','picture_id'=>$picture['picture_id'],'picture_pid'=>'1'));}" role="button">显</a>
        {elseif $picture['picture_pid']=='1'}
        <a class="btn btn-default" href="{php echo $this->createWebUrl('picture',array('op'=>'update','picture_id'=>$picture['picture_id'],'picture_pid'=>'2'));}" role="button">隐</a>
        {else}{/if}

        <a onclick="delcfm()" class="btn btn-default" href="{php echo $this->createWebUrl('picture',array('op'=>'delete','picture_id'=>$picture['picture_id']));}" role="button">
            <i class="fa fa-trash-o fa-fw"></i>
        </a>
    </td>
</tr>